<include file="Public:header" />
<include file="Public:menu" />

<div  id="main_content_wrap" class="container_12">
  <div class="container_12 boxbody" style="height: 400px">
    <h2>
    家族树({$thisuser})
    <a href="{:U('User/index')}" style="position: absolute;right: 10%;background-color: #6f97e9"class="button fr mr10">返回用户列表</a>
  </h2>
  <div class="" style="margin-left: 150px" >
    <div style="width: 700px ;height:55px;margin: 10px 0 0 0">

      <div class="" style="width: 70px;line-height: 40px;text-align: center; background-color: #6f97e9;color: #fff;float: left">直接下属</div>
      <div class="" style="width: 20px;height: 20px;float: left;border-bottom: 1px solid #9b9b9b"></div>
      <div style="width:600px;float: left;height: 55px">
        <volist name="child" id="item" offset="0" length='5'>
          <div style="height: 55px;width: 70px;float: left;margin-right: 12px">
            <a href="{:U('User/edit',array('id'=>$item['id']))}">
          <div style="width: 70px;line-height: 40px;border: 1px solid #9b9b9b;text-align: center">
            {$item.username}
          </div>
            </a>
            <div style="width: 70px;line-height: 12px;text-align: center">|</div>
          </div>
        </volist>
      </div>
    </div>

    <div  style="width: 700px ;min-height:55px;">
      <div style="width: 70px;line-height: 40px;text-align: center; background-color: #6f97e9;color: #fff;float: left">二级下属</div>
      <div class="" style="width: 20px;height: 20px;float: left;border-bottom: 1px solid #9b9b9b"></div>
      <div style="width:600px;float: left;height: 40px">
        <foreach name="num" item="vo">
          <div style="border:1px solid #9b9b9b;min-height:40px;width: 70px;float: left;margin-right: 10px">
            <foreach name="childtwo[$vo]" item="item">

              <ul>
                <a href="{:U('User/edit',array('id'=>$item['id']))}">
                <li style="width: 70px;line-height: 40px;border-bottom:1px solid #9b9b9b; text-align: center">
                 {$item.username}
                </li>
                </a>
              </ul>

            </foreach>
          </div>

        </foreach>
      </div>
    </div>

  </div>
  </div>
</div>
<include file="Public:footer" />